package com.tianqu.tms.dao;

import com.tianqu.tms.core.exception.TmsDaoException;
import com.tianqu.tms.dto.TmsDetectSeniorDto;

public interface TmsDetectSeniorDao {
	/**
	 * 
	 * 根据检测ID删除高级检测信息
	 * @param id
	 * @throws TmsDaoException
	 */
	public void delDetectSenior(int id) throws TmsDaoException;
	
	/**
	 * 
	 * 新增检测信息
	 * @return
	 * @throws TmsDaoException 
	 */
	public int insertCarSeniorDetectInfo(TmsDetectSeniorDto dto) throws TmsDaoException;
	
	/**
	 * 根据检测ID查询车辆高级检测信息
	 * @throws TmsDaoException 
	 * 
	 */
	public TmsDetectSeniorDto findCarSeniorDetectInfoById(int id) throws TmsDaoException;
	
	/**
	 * 
	 * 根据检测ID更新检测信息
	 * @throws TmsDaoException 
	 */
	public void updateCarSeniorDetectInfo(TmsDetectSeniorDto dto) throws TmsDaoException;
}
